using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Condition06-移动的是这个棋子", menuName = "Skill/Condition/Condition06-移动的是这个棋子", order = 6)]
public class Condition06 : ConditionBase
{
    public override bool Evaluate(Pair pair,GameEvent e)
    {
        if (e is not moveEvent moveEvent) return false;
        return moveEvent.moveChess == pair.Chess;
    }
}